// cover some element-ui styles
.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input { display: none;}


/*input
-----------------------------------*/
.el-input__suffix {
  .el-icon-circle-check {
    color: #67c23a;
    &:before {
      content: "\E79c";
    }
  }
  .el-icon-circle-close:before {
    content: "\e79d";
  }
}
.el-input.is-disabled .el-input__inner {
  background-color: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.15);
}
 ::v-deep.el-select-dropdown__item{
  color: #ccc;
}


/*form
-----------------------------------*/
.el-input-number__increase:hover:not(.is-disabled) ~ .el-input .el-input__inner:not(.is-disabled), .el-input-number__decrease:hover:not(.is-disabled) ~ .el-input .el-input__inner:not(.is-disabled){
  border-color: #DCDFE6;
}
.el-input-number__increase:hover, .el-input-number__decrease:hover{
  color: #606266;
}
 .el-input__inner:focus, .el-textarea__inner:focus,
 .el-select .el-input.is-focus .el-input__inner,
 .el-select .el-input__inner:focus,
 .el-range-editor.is-active,
 .el-range-editor.is-active:hover
 {
  border-color: #1989FA;
}
.el-form-item.is-error .el-input__inner,
.el-form-item.is-error .el-input__inner:focus,
.el-form-item.is-error .el-textarea__inner,
.el-form-item.is-error .el-textarea__inner:focus {
  border-color: #FA5555;
}
.el-form-item.is-error .el-input__validateIcon{
  color: #FA5555;
}
.el-form-item.is-success .el-input__inner,
.el-form-item.is-success .el-input__inner:focus,
.el-form-item.is-success .el-textarea__inner,
.el-form-item.is-success .el-textarea__inner:focus {
  border-color: #67C23A;
}
.el-form-item__error {
  font-size: 13px;
  padding-left: 20px;
  padding-top: 0;
  line-height: 21px;
  font-weight: 400;
  color: #F56C6D;
  font-family: element-icons!important;
  &:before {
    position: absolute;
    left: 0;
    font-size: 16px;
    color: #FA5555;
    content: "\e7a3";
  }
}
.el-select--small .el-input__suffix{height: 32px;}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}


/*tabs
-----------------------------------*/
.el-tabs {
  margin: 0 -15px;
}
.el-tabs__nav-wrap {
  padding-left: 16px;
}
.el-tabs__nav-wrap::after {
  height: 1px;
}

/*table
-----------------------------------*/
.el-table__body {
  td {
    .el-button--text {
      color: #1989fa;
      font-size: 14px;
    }
    .danger {
      color: #f57474;
    }
    .warning {
      color: #ff9500;
    }
  }
}
.el-table th{
  font-weight: 600;
  color: #333333;
}

.el-table th.gutter{
  display: table-cell!important;
}

.el-table colgroup.gutter{
  display: table-cell!important;
}
// .is-left{
//   .cell{
//       padding-left: 40px !important;
//    }
//  }
.el-table .rowspan {
  background: #f5f7fa;
}
/*message-box
-----------------------------------*/
.el-message-box {
  padding-bottom: 16px;
}
.el-message-box__header {
  padding: 22px 20px 0;
  .el-message-box__title{
    font-size:18px;
    font-weight:400;
    color:#333333;
    line-height:18px;
  }
}
.el-message-box__content {
  padding: 18px 20px 0;
  display: flex;
  .el-message-box__message{
    ::v-deep.el-icon-success:before{
      color: #67C23A;
    }
  }
}
.el-message-box__btns {
  margin-top: 23px;
  // text-align: center;
  .el-button {
    width: 88px;
    height: 32px;
    border-radius: 4px;
    &:nth-child(2) {
      margin-left: 20px;
    }
  }
}

/*message
-----------------------------------*/
.el-message--info {
  border-color: #91D5FF;
  background: #E6F7FF;
  min-width: 160px;
  padding: 9px 16px;
}


/*dialog
-----------------------------------*/
// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}
.el-dialog__header {
  padding-top: 22px;
  padding-bottom: 0;
  .el-dialog__headerbtn{
    top: 16px;
    right: 16px;
    i{ font-size: 16px; font-weight: bold; color: #8C8C8C;}
  }
}
.el-dialog__title {
  font-size: 18px;
  font-weight: 400;
  color:#303133;
  line-height: 18px;
}
.el-dialog__body {padding: 20px 20px 28px;}
.el-dialog__footer {
  text-align: center;
  padding-bottom: 29px;
  .el-button {padding: 10px 24px;}
  .el-button + .el-button {margin-left: 20px;}
}
.el-dialog__wrapper{
  &.dialog-fade-leave-active{
   -ms-animation:none;
  }
}

/*alert
-----------------------------------*/
.el-alert--warning.is-light {
  height: 40px;
  line-height: 40px;
  background:rgba(255,247,230,1);
  border-radius:4px;
  color: #E6A23C;
  font-size: 14px;
}

.el-input.is-disabled .el-input__inner{
  background:#F5F7FA;
  color:#909399
}

.el-link.el-link--danger:hover {
  color: #F56C6C;
}
.el-link.el-link--primary:hover{
  color: #409EFF;
}
.el-link.el-link--primary.is-disabled:hover{
  color: #a0cfff;
}
.el-menu-item.is-active .svg-icon{
  opacity: 1!important;
}

.el-image-viewer__close{color: #fff;}
